package week11.annotation;

import org.springframework.context.annotation.Import;
import week11.config.HelloWorldAutoConfiguration;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
//自定义注解常规注解二人组
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
//需要引入的类
@Import(HelloWorldAutoConfiguration.class)
public @interface EnableHelloWorld {
}
